package com.teach.service;

import com.teach.dto.AuthDto;

public interface AdminService {

  /**
   * 登录
   * @param name
   * @param pwd
   * @return 登录成功的用户信息
   * @throws Exception
   */
  AuthDto login(String name, String pwd)throws Exception;
}
